<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>欢迎登录后台管理系统</title>
<link href="__PUBLIC__/Admin/css/base.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/Admin/css/right.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="__PUBLIC__/js/jquery-2.1.1.min.js"></script>
<script>
$(document).ready(function(){	
   $(function(){
      $('.rightinfo tbody tr:odd').css("backgroundColor","#f5f8fa");	
   })
   $("#picadd").click(function(){
	   $("#picgen").after("<li><label>&nbsp;</label><input name='file[]' type='file' class='dfinput'><i><img src='__PUBLIC__/Admin/image/t03.png' style='vertical-align:middle; cursor:pointer' onclick='removeFile(this);' /></i></li>");
   });
   $("input[name='cbeicode']").click(function(){
	   if($(this).prop("checked")){
		   $('.beifen').show();
	   } else {
	      $('.beifen').hide();  
	   }
   });
});
function removeFile(e){
	$(e).parent().parent().remove();
}
</script>
<style>
<if condition="($sysconfig[cbeicode] eq 2) OR ($sysconfig[cbeicode] eq '') ">
.beifen{ display:none;}
</if>
</style>
</head>
<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="{:U('Index/center')}">首页</a></li>
    <li>轮换配置</li>
  </ul>
</div>
<div class="formbody">
  <form name="fadd" method="post" action="{:U('savelunhuan')}" enctype="multipart/form-data">
    <ul class="forminfo">
      <li>
        <label>查询域名KEY</label>
        <input name="youxicheckkey" type="text" value="{$sysconfig['youxicheckkey']}" class="dfinput" />
        <i></i></li>
	  <li>
        <label>查询域名间隔</label>
        <input name="youxichecksec" type="text" value="{$sysconfig['youxichecksec']}" class="dfinput" />秒
        <i></i></li>
	  <li>
        <label>游戏域名</label>
		<textarea name="youxiurl" class="textinput" style="width:325px; height:360px;">{$sysconfig['youxiurl']}</textarea>
      <li>
        <label>&nbsp;</label>
        <input name="button" type="submit" class="btn" value="确认保存"/>
      </li>
    </ul>
  </form>
</div>
</body>
</html>